<?php 
namespace voxfa\net\store\pdo;

interface NetworkInterfaceConstants {
	
	const TABLE = "network_interface";
	const INSERT_INTERFACE = "INSERT INTO %s VALUES (:dev,:name,:attr)";
	const UPDATE_INTERFACE = "UPDATE %s SET displayName=:name,attributes=:attr WHERE dev=:dev";
	const DELETE_INTERFACE = "DELETE FROM %s WHERE dev=:dev";
	const EXIST_INTERFACE = "SELECT COUNT(*) FROM %s WHERE dev=:dev";
	const SELECT_BY_NAME = "SELECT * FROM %s WHERE dev=:dev";
	const SELECT_ALL = "SELECT * FROM %s";
}
